import java.util.Scanner;

public class Java16 {
    public static void main(String[] args) {
        System.out.println("请输入三个整数：");
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int i = a > b ? a : b;
        int max = i > c ? i : c;
        System.out.println("最大的数是：" + max);
        /*if (a>b&&a>c){
            System.out.println("最大的数是:"+a);
        }
        if (b>a&&b>c){
            System.out.println("最大的数是:"+b);
        }
        if (c>a&&c>b){
            System.out.println("最大的数是:"+c);
        }*/
    }
}
